package com.cross.validator;

import com.cross.core.Row;
import com.cross.exception.ValidatorException;

/**
 * 行验证器
 *
 * @date 2009-2-4
 * @author craziness_stone
 */
public interface RowValidator extends Validator {

	/**
	 * 验证行对象是否正确
	 * 
	 * 2009-2-4
	 * @author craziness_stone
	 * @param row
	 * @return 正确不抛异常且返回true;否则抛出具体异常或返回false.
	 * @throws ValidatorException
	 */
	public boolean valid(Row row) throws ValidatorException ;
}
